PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Dancer / Lasers / Blendin to myself AdamFX Twist 2 martin - glassball dance with AdamFX b.milk
| 1 | MILKDROP_PRESET_VERSION=201 |
| 2 | PSVERSION=3 |
| 3 | PSVERSION_WARP=2 |
| 4 | PSVERSION_COMP=3 |
| 5 | [preset00] |
| 6 | fRating=5.000000 |
| 7 | fGammaAdj=1.980 |
| 8 | fDecay=0.500 |
| 9 | fVideoEchoZoom=1.000 |
| 10 | fVideoEchoAlpha=0.500 |
| 11 | nVideoEchoOrientation=3 |
| 12 | nWaveMode=2 |
| 13 | bAdditiveWaves=0 |
| 14 | bWaveDots=0 |
| 15 | bWaveThick=0 |
| 16 | bModWaveAlphaByVolume=1 |
| 17 | bMaximizeWaveColor=0 |
| 18 | bTexWrap=1 |
| 19 | bDarkenCenter=0 |
| 20 | bRedBlueStereo=0 |
| 21 | bBrighten=0 |
| 22 | bDarken=1 |
| 23 | bSolarize=0 |
| 24 | bInvert=0 |
| 25 | fWaveAlpha=0.001 |
| 26 | fWaveScale=20.945 |
| 27 | fWaveSmoothing=0.000 |
| 28 | fWaveParam=0.080 |
| 29 | fModWaveAlphaStart=0.000 |
| 30 | fModWaveAlphaEnd=1.320 |
| 31 | fWarpAnimSpeed=0.442 |
| 32 | fWarpScale=0.498 |
| 33 | fZoomExponent=1.00000 |
| 34 | fShader=0.000 |
| 35 | zoom=0.99990 |
| 36 | rot=0.00000 |
| 37 | cx=0.500 |
| 38 | cy=0.500 |
| 39 | dx=0.00000 |
| 40 | dy=0.00000 |
| 41 | warp=0.01000 |
| 42 | sx=0.99990 |
| 43 | sy=1.00000 |
| 44 | wave_r=0.000 |
| 45 | wave_g=0.990 |
| 46 | wave_b=1.000 |
| 47 | wave_x=0.500 |
| 48 | wave_y=0.500 |
| 49 | ob_size=0.000 |
| 50 | ob_r=1.000 |
| 51 | ob_g=1.000 |
| 52 | ob_b=1.000 |
| 53 | ob_a=0.050 |
| 54 | ib_size=0.260 |
| 55 | ib_r=0.250 |
| 56 | ib_g=0.250 |
| 57 | ib_b=0.250 |
| 58 | ib_a=0.000 |
| 59 | nMotionVectorsX=64.000 |
| 60 | nMotionVectorsY=48.000 |
| 61 | mv_dx=0.000 |
| 62 | mv_dy=0.000 |
| 63 | mv_l=1.850 |
| 64 | mv_r=0.500 |
| 65 | mv_g=0.500 |
| 66 | mv_b=0.500 |
| 67 | mv_a=0.000 |
| 68 | b1n=0.000 |
| 69 | b2n=0.000 |
| 70 | b3n=0.000 |
| 71 | b1x=1.000 |
| 72 | b2x=1.000 |
| 73 | b3x=1.000 |
| 74 | b1ed=0.000 |
| 75 | wavecode_0_enabled=0 |
| 76 | wavecode_0_samples=512 |
| 77 | wavecode_0_sep=120 |
| 78 | wavecode_0_bSpectrum=0 |
| 79 | wavecode_0_bUseDots=0 |
| 80 | wavecode_0_bDrawThick=0 |
| 81 | wavecode_0_bAdditive=1 |
| 82 | wavecode_0_scaling=0.89152 |
| 83 | wavecode_0_smoothing=0.82000 |
| 84 | wavecode_0_r=1.000 |
| 85 | wavecode_0_g=1.000 |
| 86 | wavecode_0_b=1.000 |
| 87 | wavecode_0_a=0.600 |
| 88 | wave_0_per_frame1=t2 = t2 + bass_att; |
| 89 | wave_0_per_point1=k1 = (sample*100)%8; |
| 90 | wave_0_per_point2=k2 = bnot (k1); |
| 91 | wave_0_per_point3=xi = value1*k2 + xi*(1-k2); |
| 92 | wave_0_per_point4=yi = value2*(1-k2) + yi*k2; |
| 93 | wave_0_per_point5= |
| 94 | wave_0_per_point6=dx = dx*.99 + xi; |
| 95 | wave_0_per_point7=dy = dy*.99 + yi; |
| 96 | wave_0_per_point8= |
| 97 | wave_0_per_point9=x = .5 + xi/2; |
| 98 | wave_0_per_point10=y = .5 + yi/2; |
| 99 | wave_0_per_point11= |
| 100 | wave_0_per_point12=a = q22/8; |
| 101 | wave_0_per_point13=a = min(a,.4); |
| 102 | wavecode_1_enabled=0 |
| 103 | wavecode_1_samples=512 |
| 104 | wavecode_1_sep=0 |
| 105 | wavecode_1_bSpectrum=0 |
| 106 | wavecode_1_bUseDots=0 |
| 107 | wavecode_1_bDrawThick=1 |
| 108 | wavecode_1_bAdditive=0 |
| 109 | wavecode_1_scaling=0.89152 |
| 110 | wavecode_1_smoothing=0.82000 |
| 111 | wavecode_1_r=1.000 |
| 112 | wavecode_1_g=1.000 |
| 113 | wavecode_1_b=1.000 |
| 114 | wavecode_1_a=0.020 |
| 115 | wave_1_per_frame1=tm = time*.1; |
| 116 | wave_1_per_frame2=t1 = t1*sin(tm*t4) + (1-t1)*sin(tm*t7); |
| 117 | wave_1_per_frame3=t2 = t2*sin(tm*t5) + (1-t2)*sin(tm*t8); |
| 118 | wave_1_per_frame4=t3 = t3*sin(tm*t6) + (1-t3)*sin(tm*1); |
| 119 | wave_1_per_frame5= |
| 120 | wave_1_per_frame6=tic = min(time - tin,1); |
| 121 | wave_1_per_frame7=tin = time; |
| 122 | wave_1_per_frame8= |
| 123 | wave_1_per_frame9=tva = (tic*q1*.5); |
| 124 | wave_1_per_frame10=tvb = (tic*q2*.5); |
| 125 | wave_1_per_frame11=tvc = (tic*q3*.5); |
| 126 | wave_1_per_frame12= |
| 127 | wave_1_per_frame13=q1 = tva; |
| 128 | wave_1_per_frame14=q2 = tvb; |
| 129 | wave_1_per_frame15=q3 = tvc; |
| 130 | wave_1_per_frame16= |
| 131 | wave_1_per_frame17=sz = .5; |
| 132 | wave_1_per_frame18=len = q4; |
| 133 | wave_1_per_frame19=t4 = len; |
| 134 | wavecode_2_enabled=0 |
| 135 | wavecode_2_samples=512 |
| 136 | wavecode_2_sep=0 |
| 137 | wavecode_2_bSpectrum=0 |
| 138 | wavecode_2_bUseDots=0 |
| 139 | wavecode_2_bDrawThick=1 |
| 140 | wavecode_2_bAdditive=0 |
| 141 | wavecode_2_scaling=0.89152 |
| 142 | wavecode_2_smoothing=0.82000 |
| 143 | wavecode_2_r=0.000 |
| 144 | wavecode_2_g=0.200 |
| 145 | wavecode_2_b=0.000 |
| 146 | wavecode_2_a=1.000 |
| 147 | wave_2_per_frame1=tm = time*.1; |
| 148 | wave_2_per_frame2=t1 = t1*sin(tm*t4) + (1-t1)*sin(tm*t7); |
| 149 | wave_2_per_frame3=t2 = t2*sin(tm*t5) + (1-t2)*sin(tm*t8); |
| 150 | wave_2_per_frame4=t3 = t3*sin(tm*t6) + (1-t3)*sin(tm*1); |
| 151 | wave_2_per_frame5= |
| 152 | wave_2_per_frame6=tic = min(time - tin,1); |
| 153 | wave_2_per_frame7=tin = time; |
| 154 | wave_2_per_frame8= |
| 155 | wave_2_per_frame9=tva = (tic*q1*.5); |
| 156 | wave_2_per_frame10=tvb = (tic*q2*.5); |
| 157 | wave_2_per_frame11=tvc = (tic*q3*.5); |
| 158 | wave_2_per_frame12= |
| 159 | wave_2_per_frame13=q1 = tva; |
| 160 | wave_2_per_frame14=q2 = tvb; |
| 161 | wave_2_per_frame15=q3 = tvc; |
| 162 | wave_2_per_frame16= |
| 163 | wave_2_per_frame17=sz = .5; |
| 164 | wave_2_per_frame18=len = 1; |
| 165 | wave_2_per_frame19=t4 = len; |
| 166 | wavecode_3_enabled=0 |
| 167 | wavecode_3_samples=512 |
| 168 | wavecode_3_sep=0 |
| 169 | wavecode_3_bSpectrum=1 |
| 170 | wavecode_3_bUseDots=1 |
| 171 | wavecode_3_bDrawThick=0 |
| 172 | wavecode_3_bAdditive=0 |
| 173 | wavecode_3_scaling=1.00000 |
| 174 | wavecode_3_smoothing=0.50000 |
| 175 | wavecode_3_r=1.000 |
| 176 | wavecode_3_g=1.000 |
| 177 | wavecode_3_b=1.000 |
| 178 | wavecode_3_a=1.000 |
| 179 | shapecode_0_enabled=1 |
| 180 | shapecode_0_sides=53 |
| 181 | shapecode_0_additive=0 |
| 182 | shapecode_0_thickOutline=0 |
| 183 | shapecode_0_textured=0 |
| 184 | shapecode_0_num_inst=1 |
| 185 | shapecode_0_x=0.500 |
| 186 | shapecode_0_y=0.500 |
| 187 | shapecode_0_rad=0.05408 |
| 188 | shapecode_0_ang=0.00000 |
| 189 | shapecode_0_tex_ang=1.00531 |
| 190 | shapecode_0_tex_zoom=1.53117 |
| 191 | shapecode_0_r=0.200 |
| 192 | shapecode_0_g=0.700 |
| 193 | shapecode_0_b=0.000 |
| 194 | shapecode_0_a=1.000 |
| 195 | shapecode_0_r2=0.000 |
| 196 | shapecode_0_g2=0.000 |
| 197 | shapecode_0_b2=0.000 |
| 198 | shapecode_0_a2=1.000 |
| 199 | shapecode_0_border_r=1.000 |
| 200 | shapecode_0_border_g=1.000 |
| 201 | shapecode_0_border_b=0.000 |
| 202 | shapecode_0_border_a=0.000 |
| 203 | shape_0_per_frame1= |
| 204 | shape_0_per_frame2=x = .5; y = .5; |
| 205 | shape_0_per_frame3=a = q24; |
| 206 | shape_0_per_frame4=a2 = 0; |
| 207 | shape_0_per_frame5=//a = 1; |
| 208 | shapecode_1_enabled=0 |
| 209 | shapecode_1_sides=4 |
| 210 | shapecode_1_additive=0 |
| 211 | shapecode_1_thickOutline=1 |
| 212 | shapecode_1_textured=1 |
| 213 | shapecode_1_num_inst=1 |
| 214 | shapecode_1_x=0.700 |
| 215 | shapecode_1_y=0.500 |
| 216 | shapecode_1_rad=0.16122 |
| 217 | shapecode_1_ang=0.00000 |
| 218 | shapecode_1_tex_ang=0.00000 |
| 219 | shapecode_1_tex_zoom=0.99305 |
| 220 | shapecode_1_r=1.000 |
| 221 | shapecode_1_g=0.000 |
| 222 | shapecode_1_b=1.000 |
| 223 | shapecode_1_a=1.000 |
| 224 | shapecode_1_r2=1.000 |
| 225 | shapecode_1_g2=1.000 |
| 226 | shapecode_1_b2=0.000 |
| 227 | shapecode_1_a2=1.000 |
| 228 | shapecode_1_border_r=0.500 |
| 229 | shapecode_1_border_g=0.500 |
| 230 | shapecode_1_border_b=0.000 |
| 231 | shapecode_1_border_a=0.050 |
| 232 | shape_1_per_frame1=textured = 1; |
| 233 | shape_1_per_frame2= |
| 234 | shape_1_per_frame3= |
| 235 | shape_1_per_frame4= |
| 236 | shape_1_per_frame5=x1 = (1-q24)*x1 + q24*(.3+int(rand(100))/200); |
| 237 | shape_1_per_frame6=y1 = (1-q24)*y1 + q24*(.3+int(rand(100))/200);; |
| 238 | shape_1_per_frame7= |
| 239 | shape_1_per_frame8=x = x1; |
| 240 | shape_1_per_frame9=y = y1; |
| 241 | shape_1_per_frame10=ang = 3*time; |
| 242 | shapecode_2_enabled=0 |
| 243 | shapecode_2_sides=44 |
| 244 | shapecode_2_additive=0 |
| 245 | shapecode_2_thickOutline=0 |
| 246 | shapecode_2_textured=0 |
| 247 | shapecode_2_num_inst=1 |
| 248 | shapecode_2_x=0.503 |
| 249 | shapecode_2_y=0.500 |
| 250 | shapecode_2_rad=0.03886 |
| 251 | shapecode_2_ang=0.00000 |
| 252 | shapecode_2_tex_ang=0.00000 |
| 253 | shapecode_2_tex_zoom=0.60986 |
| 254 | shapecode_2_r=1.000 |
| 255 | shapecode_2_g=0.100 |
| 256 | shapecode_2_b=0.000 |
| 257 | shapecode_2_a=0.900 |
| 258 | shapecode_2_r2=1.000 |
| 259 | shapecode_2_g2=1.000 |
| 260 | shapecode_2_b2=1.000 |
| 261 | shapecode_2_a2=0.000 |
| 262 | shapecode_2_border_r=1.000 |
| 263 | shapecode_2_border_g=1.000 |
| 264 | shapecode_2_border_b=1.000 |
| 265 | shapecode_2_border_a=0.000 |
| 266 | shape_2_per_frame1=x = .5+.5*(int(rand(100))-50)/100; |
| 267 | shape_2_per_frame2=y = .5+.5*(int(rand(100))-50)/100; |
| 268 | shape_2_per_frame3= |
| 269 | shape_2_per_frame4=r = int(rand(4))/3; |
| 270 | shape_2_per_frame5=g = int(rand(4))/3; |
| 271 | shape_2_per_frame6=b = int(rand(4))/3; |
| 272 | shape_2_per_frame7= |
| 273 | shape_2_per_frame8= |
| 274 | shape_2_per_frame9=is_beat = above(time, t0+.05); |
| 275 | shape_2_per_frame10=t0 = is_beat*time + (1-is_beat)*t0; |
| 276 | shape_2_per_frame11= |
| 277 | shape_2_per_frame12= |
| 278 | shape_2_per_frame13=a = min(q21 ,.9) * is_beat; |
| 279 | shape_2_per_frame14=rad = a*a/3 ; |
| 280 | shape_2_per_frame15= |
| 281 | shapecode_3_enabled=0 |
| 282 | shapecode_3_sides=63 |
| 283 | shapecode_3_additive=0 |
| 284 | shapecode_3_thickOutline=0 |
| 285 | shapecode_3_textured=1 |
| 286 | shapecode_3_num_inst=1 |
| 287 | shapecode_3_x=0.500 |
| 288 | shapecode_3_y=1.000 |
| 289 | shapecode_3_rad=0.54822 |
| 290 | shapecode_3_ang=0.00000 |
| 291 | shapecode_3_tex_ang=0.00000 |
| 292 | shapecode_3_tex_zoom=0.49981 |
| 293 | shapecode_3_r=1.000 |
| 294 | shapecode_3_g=1.000 |
| 295 | shapecode_3_b=1.000 |
| 296 | shapecode_3_a=1.000 |
| 297 | shapecode_3_r2=1.000 |
| 298 | shapecode_3_g2=1.000 |
| 299 | shapecode_3_b2=1.000 |
| 300 | shapecode_3_a2=0.000 |
| 301 | shapecode_3_border_r=0.500 |
| 302 | shapecode_3_border_g=0.500 |
| 303 | shapecode_3_border_b=0.500 |
| 304 | shapecode_3_border_a=0.000 |
| 305 | per_frame_init_1=blend = 1.2; |
| 306 | per_frame_1=dec_med = pow (0.9, 30/fps); |
| 307 | per_frame_2=dec_slow = pow (0.99, 30/fps); |
| 308 | per_frame_3=beat = max (max (bass, mid), treb); |
| 309 | per_frame_4=avg = avg*dec_slow + beat*(1-dec_slow); |
| 310 | per_frame_5=is_beat = above(beat, .5+avg+peak) * above (time, t0+.2); |
| 311 | per_frame_6=t0 = is_beat*time + (1-is_beat)*t0; |
| 312 | per_frame_7=peak = is_beat * beat + (1-is_beat)*peak*dec_med; |
| 313 | per_frame_8=index = (index + is_beat) %16; |
| 314 | per_frame_9= |
| 315 | per_frame_10=q20 = avg; |
| 316 | per_frame_11=q21 = beat; |
| 317 | per_frame_12=q22 = peak; |
| 318 | per_frame_13=q23 = index; |
| 319 | per_frame_14=q24 = is_beat; |
| 320 | per_frame_15=q26 = bass + mid + treb; |
| 321 | per_frame_16= |
| 322 | per_frame_17=k1 = is_beat*equal(index,0); |
| 323 | per_frame_18=p1 = k1*(p1+1) + (1-k1)*p1; |
| 324 | per_frame_19=p2 = dec_slow * p2+ (1-dec_slow)*p1; |
| 325 | per_frame_20=rott = p2 * 3.1416/4; |
| 326 | per_frame_21= |
| 327 | per_frame_22=q1 = cos(rott); |
| 328 | per_frame_23=q2 = sin(rott); |
| 329 | per_frame_24=q3 = -q2; |
| 330 | per_frame_25=q4 = q1; |
| 331 | per_frame_26= |
| 332 | per_frame_27=q5 = index/12-.5; |
| 333 | per_frame_28= |
| 334 | per_frame_29=q6 = sin (time/21); |
| 335 | per_frame_30=q7 = 6 + 10 * (1+sin (time/7)); |
| 336 | per_frame_31= |
| 337 | per_frame_32=q32 = pow(0.98, 30/fps); //fade |
| 338 | per_frame_33= |
| 339 | per_frame_34=rot = .0; |
| 340 | per_frame_35=dx = .0002*(index%4); |
| 341 | per_frame_36=zoom = 1.005 + (.02*q5); |
| 342 | per_frame_37=q31 = zoom; |
| 343 | per_frame_38=warp = .3 * sin(time/17); |
| 344 | per_frame_39= |
| 345 | per_frame_40=blend = blend*dec_med + 1-dec_med; |
| 346 | per_frame_41=q30 = blend; |
| 347 | warp_1=`float3 color, mus; |
| 348 | warp_2=`float dx,dy; |
| 349 | warp_3=`shader_body { |
| 350 | warp_4=` |
| 351 | warp_5=`float2 uv1 = (uv-.5);// * aspect.xy; |
| 352 | warp_6=` |
| 353 | warp_7=`float2 uv6 = uv1; |
| 354 | warp_8=`float z = q28*4*length((abs(uv1.x)-abs(uv1.y))); |
| 355 | warp_9=`float2 d = normalize(uv1); |
| 356 | warp_10=`float2 rs = clamp(tan(z)*d,-2,2); |
| 357 | warp_11=`uv1 -= rs/40; |
| 358 | warp_12=` |
| 359 | warp_13=`uv6 = .4*cos(uv1*4+time); |
| 360 | warp_14=`mus = .005/(length(uv6)); |
| 361 | warp_15=` |
| 362 | warp_16=`float3 crisp= tex2D(sampler_main,(uv1)*(.95-q28/16+.4*z)+.5); |
| 363 | warp_17=` |
| 364 | warp_18=`float3 ret1 = crisp + mus; |
| 365 | warp_19=` |
| 366 | warp_20=`ret = (ret1*.99-.03); |
| 367 | warp_21=` |
| 368 | warp_22=`} |
| 369 | comp_1=`sampler sampler_pw_noise_lq; |
| 370 | comp_2=`float mask1, mask2, mask3, rad1, rad2, rad3; |
| 371 | comp_3=`float2 rs0, rs, rs1,dz, rsk, dz1, uv4, |
| 372 | comp_4=` Kugel1, Kugel2, Kugel3; |
| 373 | comp_5=`float3 noise, ret1, ret2; |
| 374 | comp_6=` |
| 375 | comp_7=`shader_body { |
| 376 | comp_8=`float2 uv1 = (uv-.5 )*aspect.xy; |
| 377 | comp_9=` |
| 378 | comp_10=`uv1 = mul(uv1,float2x2(_qb)); |
| 379 | comp_11=` |
| 380 | comp_12=`//Kugel1 |
| 381 | comp_13=`rsk = (uv1 + float2 (q11,q12)) ; |
| 382 | comp_14=`dz1 = normalize(rsk); |
| 383 | comp_15=`rad1 = 8*(q13)*length (rsk) ; |
| 384 | comp_16=`uv4 = tan(rad1)*dz1; |
| 385 | comp_17=`mask1 = saturate(10-7*rad1); |
| 386 | comp_18=`Kugel1 = uv4*mask1/(1+q13*q13)*q13; |
| 387 | comp_19=` |
| 388 | comp_20=`//Kugel2 |
| 389 | comp_21=`rsk = (uv1 + float2 (q14,q15)) ; |
| 390 | comp_22=`dz1 = normalize(rsk); |
| 391 | comp_23=`rad2 = 2*(1+q16)*length (rsk) ; |
| 392 | comp_24=`uv4 = tan(rad2)*dz1; |
| 393 | comp_25=`mask2 = saturate(10-7*rad2); |
| 394 | comp_26=`Kugel2 = uv4*mask2/(1+q16*q16)*q16; |
| 395 | comp_27=` |
| 396 | comp_28=`//Kugel3 |
| 397 | comp_29=`rsk = (uv1 + float2 (q17,q18)) ; |
| 398 | comp_30=`dz1 = normalize(rsk); |
| 399 | comp_31=`rad3 = 4*(1+q19)*length (rsk) ; |
| 400 | comp_32=`uv4 = tan(rad3)*dz1; |
| 401 | comp_33=`mask3 = saturate(10-7*rad3); |
| 402 | comp_34=`Kugel3 = uv4*mask3/(1+q19*q19)*q19; |
| 403 | comp_35=` |
| 404 | comp_36=`float z = .1/abs(uv1.y*rad*rad); |
| 405 | comp_37=`rs0.y = z ; |
| 406 | comp_38=`rs0.x = uv1.x*z*4; |
| 407 | comp_39=` |
| 408 | comp_40=`rs0 = mul(rs0, float2x2(_qa)); |
| 409 | comp_41=`rs = rs0 + float2 (0,q30); |
| 410 | comp_42=`ret2 = GetBlur1(frac(rs))/z; |
| 411 | comp_43=` |
| 412 | comp_44=`uv1 += (Kugel1 + Kugel2 + Kugel3)*.25 + ret2/4; |
| 413 | comp_45=`ret1 = ret2 + (GetPixel(uv1/2+.5)) |
| 414 | comp_46=`+ .4/rad1 * (.5-GetBlur1(0.1))*q22*(q27%4) |
| 415 | comp_47=`+ .3/rad2 * (.5-GetBlur1(0.2))*q22*((q27+1)%4) |
| 416 | comp_48=`+ .2/rad3 * (.5-GetBlur1(0))*q22*((q27+2)%4); |
| 417 | comp_49=` |
| 418 | comp_50=`ret = saturate(ret1*(1+ret1)); |
| 419 | comp_51=`} |
| 420 | comp_52=` |